//
//  MyUrlString.swift
//  KaMengApplication
//
//  Created by DUONIU_MAC on 2018/8/20.
//  Copyright © 2018年 DUONIU_MAC. All rights reserved.
//

import Foundation

var urlStr : String {
    #if DEBUG
        return "https://test.kameng98.com/"
    #else
        return "https://www.kameng98.com/"
    #endif
}

var webUrl = "https://m.kameng98.com"

//MARK: 注册
var url_signUp = urlStr + "api/mobile/register"
//MARK: 登录
var url_signIn = urlStr + "api/mobile/login"
//MARK: 注册验证码
var url_signUpCode = urlStr + "api/mobile/send_sms"
//MARK: 快捷登录和忘记密码和快速贷款验证码
var url_signInCode = urlStr + "api/mobile/send_code"
//MARK: 验证码登录
var url_codeSignIn = urlStr + "mobile/phone_login" //urlStr + "api/mobile/phone_login"
//MARK: 设置密码
var url_setPassword = urlStr + "api/mobile/phone_set_pwd"
//MARK: 忘记密码
var url_forgetPassword = urlStr + "api/mobile/edit_pwd_code"
//MARK: 修改密码
var url_changePassword = urlStr + "api/mobile/edit_pwd_pwd"
//MARK: 获取用户资料
var url_getUserNews = urlStr + "api/mobile/user_xinxi"
//MARK: 实名验证
var url_verify = urlStr + "api/mobile/shiming"
//MARK: 修改昵称
var url_changeNickName = urlStr + "api/mobile/edit_user_name"
//MARK: 设置头像
var url_changeAvatar = urlStr + "api/mobile/avatar_upload"
//MARK: 验证信息
var url_verifyNews = urlStr + "api/mobile/get_user_info"
//MARK: 绑定手机验证码验证和快速贷款验证码验证
var url_bindPhoneCode = urlStr + "api/mobile/CAPTCHA"
//MARK: 绑定手机
var url_bindPhone = urlStr + "api/mobile/center_phone_edit"

//MRAK: 网友推荐
var url_recommend = urlStr + "api/mobile/netizen_recommend"
//MARK: 卡片详情
var url_cardArtifact = urlStr + "api/mobile/shenqi"
//MARK: 申请行用卡
var url_applicationCard = urlStr + "api/mobile/credit_data"
//MARK: 信用卡筛选
var url_cardCondition = urlStr + "api/mobile/card_info"
//MARK: 信用卡中心
var url_cardCenter = urlStr + "api/mobile/hot_bank_card"
//MARK: 信用卡中心文章
var url_cardArticle = urlStr + "api/mobile/hot_bank_post"
//MARK: 生成记录
var url_record = urlStr + "api/mobile/app_credit_apply"
//MARK: 申请记录
var url_applicationRecord = urlStr + "api/mobile/apply_history"
//MARK: 游客记录
var url_touristsRecord = urlStr + "Portal/Common/creditRecord"
var url_commonRecord = urlStr + "Common/creditRecord"
//MARK: 通过id获取链接
var url_getHref = urlStr + "api/mobile/get_card_info"
//MARK: 银行卡信息
var url_bankCardList = urlStr + "api/mobile/card_bag_list"
//MARK: 删除银行卡
var url_deleteBankCard = urlStr + "api/mobile/card_bag_del"
//MARK: 添加银行卡
var url_addBankCard = urlStr + "api/mobile/card_bag_add"
//MARK: 意见反馈
var url_feedback = urlStr + "/Public/do_feedback"
//MARK: 还款提醒信息
var url_repaymentList = urlStr + "api/mobile/huankuan_list"
//MARK: 添加还款信息
var url_addRepayment = urlStr + "api/mobile/huankuan"
//MARK: 删除还款信息
var url_deleteRepayment = urlStr + "api/mobile/huakuan_del"
//MARK: 资讯学堂
var url_school = urlStr + "Api/Appapi/kashen"
//MARK: 资讯新闻
var url_informationNews = webUrl + "/mobile/discover"
//MARK: 理财资讯
var url_financialNews = webUrl + "/mobile/licai"
//MARK: 学堂资讯
var url_schoolNews = webUrl + "/mobile/xuetang"
//MARK: 服务资讯
var url_serviceNews = webUrl + "/mobile/cardCenter"
//MARK: 贷款资讯
var url_loanNews = webUrl + "/mobile/loan"
//MARK: 贷款最新资讯
var url_loanLatestInformation = urlStr + "api/mobile/LoanLatestNews"
//MARK: 通用贷款
var url_genericLoans = urlStr + "api/mobile/Loan_list"
//MARK: 房贷车贷
var url_houseCarLoan = urlStr + "api/mobile/House_Car_Loan"
//MARK: 精选贷款
var url_SelectedLoan = urlStr + "api/mobile/choice_loan"
//MARK: 获取快速贷款相关信息
var url_quickLoanNews = urlStr + "api/mobile/quick_loan"
//MARK: 提交快速贷款申请
var url_submitApplication = urlStr + "api/mobile/do_quick_loan"
//MARK: 贷款申请记录
var url_loanRecord = urlStr + "Common/loanRecord"
//MARK: 获取贷款记录
var url_getLoanRecord = urlStr + "Api/Appapi/get_loan_records"
//MARK: 修改贷款记录信息
var url_changeLoanRecord = urlStr + "Loan/save_loan_status"
//MARK: 邮箱账单
var url_getMailBill = "http://api.kameng98.com/api/crawl"
